package module.dao;

import common.annotation.DaoSql;
import common.annotation.QueryDao;
import common.bean.SearchPageResult;
import common.bean.SearchParameter;
import common.dao.BaseDao;
import module.model.AssessmentRecordModel;

import java.util.List;

@QueryDao
public interface AssessmentRecordDao extends BaseDao<Long,AssessmentRecordModel> {
    @DaoSql(sql="SELECT * FROM assessment_records WHERE 1=1  { and SERVICE_ID=:serviceId }  order by CREATE_TIME desc",resultType = "Page[AssessmentRecordModelMapping]")
    public SearchPageResult<AssessmentRecordModel> getAssessmentRecordModelListPage(SearchParameter searchParameter);

}
